package datastructures;

public class IndividualInfo {
	
	private final String FAM_ID;
	private final String IND_ID;
	private final String PAT_ID;
	private final String MAT_ID;
	private final String sex;
	private String phenotype;
	private int numberOfSNPs;
	
	public IndividualInfo( String FAM_ID, String IND_ID, String PAT_ID, String MAT_ID, String sex, String phenotype, int numberOfSNPs) {
		
		this.FAM_ID = FAM_ID; // Family ID
		this.IND_ID = IND_ID; // Individual ID
		this.PAT_ID = PAT_ID; // Paternal ID
		this.MAT_ID = MAT_ID; // Maternal ID
		this.sex = sex;
		this.phenotype = phenotype;
		this.numberOfSNPs = numberOfSNPs;
	}
	
	public String getFAM_ID() {
		return FAM_ID;
	}
	public String getIND_ID() {
		return IND_ID;
	}
	public String getPAT_ID() {
		return PAT_ID;
	}
	public String getMAT_ID() {
		return MAT_ID;
	}
	public String getSex() {
		return sex;
	}
	public String getPhenotype() {
		return phenotype;
	}
	
	public void setPhenotype(String pheno) {
		phenotype = pheno;
	}
	
	public int getNumberOfSNPs() {
		return numberOfSNPs;
	}

	public void setNumberOfSNPs(int noOfSNPs) {
		numberOfSNPs = noOfSNPs;
	}
	
	public String toString() {
		return FAM_ID+"\t"+IND_ID+"\t"+PAT_ID+"\t"+MAT_ID+"\t"+sex+"\t"+phenotype;
	}

}
